package com.aspire.boc.mms.wmf.model;

import java.util.List;

public class Ext4JsTreeNode {

	// 节点编号
	private Integer resourceId;
	
	// 节点名称
	private String text;
	
	// 是否展开
	private boolean expanded;
	
	// 是否为叶子节点
	private boolean leaf;
	
	// 父节点
	private Integer parentResourceId;
	
	// 子节点编号集合
	private List<Integer> childrenIds;
	
	// 子节点集合
	private List<Ext4JsTreeNode>children;
	
	// 图标
	private String iconCls;

	// 是否已授权
	private boolean checked;
	
	public Integer getResourceId() {
		return resourceId;
	}

	public void setResourceId(Integer resourceId) {
		this.resourceId = resourceId;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public boolean isExpanded() {
		return expanded;
	}

	public void setExpanded(boolean expanded) {
		this.expanded = expanded;
	}

	public boolean isLeaf() {
		return leaf;
	}

	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	
	public Integer getParentResourceId() {
		return parentResourceId;
	}

	public void setParentResourceId(Integer parentResourceId) {
		this.parentResourceId = parentResourceId;
	}

	public List<Integer> getChildrenIds() {
		return childrenIds;
	}

	public void setChildrenIds(List<Integer> childrenIds) {
		this.childrenIds = childrenIds;
	}

	public List<Ext4JsTreeNode> getChildren() {
		return children;
	}

	public void setChildren(List<Ext4JsTreeNode> children) {
		this.children = children;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	
}
